var enumUtils = (function() {
	var saveTagData = function(tagDataList){
		common.myStorage.setItem('tagDataList', tagDataList);
	}
	var getTagData = function(){
		var tagList = common.myStorage.getItem('tagDataList');
		
		return tagList;
	}
	var saveEnumData = function(enumDataList){
		common.myStorage.setItem('enumTypeList', enumDataList);
	}
	var getEnumDataByType = function(type){
		var enumTypeList = common.myStorage.getItem('enumTypeList');
		var enumDataList = new Object();
		for(var i=0;i<enumTypeList.length;i++){
			var enumTypeObj = enumTypeList[i];
			if(enumTypeObj.identifying == type){
				enumDataList = enumTypeObj.enumDataApiDtoList;
				break;
			}
		}
		return enumDataList;
	}
	var saveTradeStateData = function(tradingStateList){
		common.myStorage.setItem('tradingStateList', tradingStateList);
	}
	var getTradeStateData = function(){
		var tradingStateList = common.myStorage.getItem('tradingStateList');
		return tradingStateList;
	}
	return {
		saveTagData:saveTagData,
		getTagData:getTagData,
		saveEnumData: saveEnumData,
		getEnumDataByType:getEnumDataByType,
		saveTradeStateData:saveTradeStateData,
		getTradeStateData:getTradeStateData
	}
})();